import { Outlet , NavLink } from "react-router-dom";




let Home : React.FC = () => {
    return (
        <div>
            <div className="header">
                电商
            </div>
            <div className="main">
                <Outlet/>
            </div>
            <div className="footer">
                <NavLink to="/home/index">首页</NavLink>
                <NavLink to="/home/classify">分类</NavLink>
                <NavLink to="/home/my">我的</NavLink>
            </div>
        </div>
    )
};


export default Home;